#include "list.h"
#include "intlist.h"

int main(int argc, char **argv)
{
  List l;
  int i;
  
  initialize_List(&l, create_IntList, delete_IntList, compare_IntList, print_IntList);
  
  for(i = 0; i < 1000; i++)
    insertLast_List(&l, &i);

  for(i = -1; i > -1000; i--)
    insertFirst_List(&l, &i);

  print_List(&l);
  
  testament_List(&l);
  return 0;
}
